package fun.codedesign.yinxue.code.php2java.rule.statement;

public class ArrayStatementRule implements StatementRule{

    @Override
    public boolean isMatch(String originStatement) {
        return originStatement.equals("array()");
    }

    @Override
    public String invoke(String originStatement) {
        return "new ArrayList()";
    }
}
